home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
docs
/
complex
/
mandel.bat
< prev
next >
Wrap
DOS Batch File
|
2000-07-08
|
1KB
|
35 lines
echo off
kt echo "マンデルブロ集合を表示します。パラメータを入力して下さい。\n"
kt input reMin "実部最小 = " "-2"
if "%reMin%" == "" goto exit
kt input imMax "虚部最大 = " "2"
if "%imMax%" == "" goto exit
kt input scLen "辺の長さ = " "4"
if "%scLen%" == "" goto exit
kt input scSize "画面サイズ(0…256×256ドット, 1…512×512ドット) = " "0"
if "%scSize%" == "" goto exit
kt input mxCnt "回数制限(1~65535) = " "256"
if "%mxCnt%" == "" goto exit
kt .machine
kt .select - MC68000 %machine%||if errorlevel 1 set type=000||goto run
kt .select - FPCP %machine%||if errorlevel 1 set type=881||goto run
kt .select - MC68030 %machine%||if errorlevel 1 set type=020||goto run
kt .select - MC68040 %machine%||if errorlevel 1 set type=040||goto run
kt .select - MC68060 %machine%||if errorlevel 1 set type=040||goto run
set type=000
:run
%type%\mandel %reMin% %imMax% %scLen% %scSize% %mxCnt%
:exit
set reMin=
set imMax=
set scLen=
set scSize=
set mxCnt=
set type=
set machine=